﻿using System.ComponentModel.DataAnnotations.Schema;

namespace Md.Api.Model.Manage.MdUser.Request;
/// <summary>
/// 获取用户列表请求实体
/// </summary>
public class RequestGetMdUserListModel : RequestBaseModel
{
    /// <summary>
    /// 用户名
    /// </summary>
    public string? UserName { get; set; }
    /// <summary>
    /// 用户昵称
    /// </summary>
    public string? UserNick { get; set; }
    /// <summary>
    /// 用户类型（00普通用户 11会员用户）
    /// </summary>
    public string? UserType { get; set; }
    /// <summary>
    /// 部门编号
    /// </summary>
    public long DeptId { get; set; }
    /// <summary>
    /// 角色编号
    /// </summary>
    public long RoleId { get; set; }
    /// <summary>
    /// 岗位编号
    /// </summary>
    public long PostId { get; set; }
    /// <summary>
    /// 用户性别（0男 1女 2未知）
    /// </summary>
    public string? Sex { get; set; }
    /// <summary>
    /// 用户邮箱
    /// </summary>
    public string? Email { get; set; }
    /// <summary>
    /// 用户手机号
    /// </summary>
    public string? Phone { get; set; }
    /// <summary>
    /// 用户是否在线
    /// </summary>
    public string? OnLine { get; set; }
    /// <summary>
    /// 状态（0正常 1停用）
    /// </summary>
    public string? Status { get; set; }
    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime? BeginDate { get; set; }
    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime? EndDate { get; set; }
    /// <summary>
    /// 创建者
    /// </summary>
    public string? CreateBy { get; set; }
    /// <summary>
    /// 更新者
    /// </summary>
    public string? UpdateBy { get; set; }
    /// <summary>
    /// 微信openId
    /// </summary>
    public string? OpenId { get; set; }
    /// <summary>
    /// 排序字段
    /// </summary>
    public string OrderBy { get; set; } = string.Empty;
    /// <summary>
    /// 是否倒序
    /// </summary>
    public bool IsDesc { get; set; }
}

